package org.example.system.config.properties;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Getter
@Setter
@NoArgsConstructor
@Component
@ConfigurationProperties(prefix = "aliyun.oss")
public class AliYunOssProperties {
    /**
     * 存储空间名称
     */
    private String bucketName;
    /**
     * 地域节点
     */
    private String endpoint;
    /**
     * AccessKey ID
     */
    private String accessKeyId;

    /**
     * AccessKey Secret
     */
    private String accessKeySecret;
    /**
     * url-prefix
     */
    private String urlPrefix;


}